/**
 * Copyright (c) 2004-2011 All Rights Reserved.
 */
package com.yiren.dbaa.net.bean;

import java.io.Serializable;

/**
 * Describe 基础网络错误信息响应bean类
 */
public class ErrorResultBean implements Serializable {

    private static final long serialVersionUID = 1329119947852782962L;

    private String code;     //返回编码
    private String message;  //返回消息

    public String getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = (message == null) ? "" : message.toString();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = (null == code) ? "" : code;
    }
}

